package com.hefei.hight.reflection;

import java.lang.reflect.Field;

/**
 * @author caizhengjun
 * @date 2020/9/5 1:47 下午
 */
public class Test07 {
    public static void main(String[] args) throws ClassNotFoundException {
        Class<?> aClass = Class.forName("com.hefei.hight.reflection.Student");

        Field[] declaredFields = aClass.getDeclaredFields();
        for (Field field : declaredFields) {
            System.out.println(field);
        }

    }
}
